#!/bin/sh

DEST_ROOT=/data

  DEST_DIR=$DEST_ROOT/`date +%y%m%d`/`date +%H`
  STAMP=`date +%y%m%d_%H%M%S`

  if [ ! -d $DEST_DIR ]
  then
      mkdir -p $DEST_DIR
  fi

  ./dackel -t100000000 -S 0 -r 1 -z3 -o/dev/null -l$DEST_DIR/$STAMP.log $*